using System;
using System.Xml;
using System.Xml.Serialization;
namespace SERP.DAO{
	/********************************BEGIN WorkPositionsEntity****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:09/03/2013 19:09:04</para>
	/// <para>Class Name: WorkPositionsEntity</para>
	/// <para>Description: ClassWorkPositionsEntity store data of table WorkPositions</para>
	///</summary>

	[Serializable]
	public partial class WorkPositionsEntity{


		private bool _InternalChangedIsNullPositionId=true;
		private bool _IsNullPositionId=true;
		private bool _InternalChangedIsNullPosName=true;
		private bool _IsNullPosName=true;
		private bool _InternalChangedIsNullNote=true;
		private bool _IsNullNote=true;
		private bool _InternalChangedIsNullBinaryId=true;
		private bool _IsNullBinaryId=true;
		private int _PositionId;
		private string _PosName;
		private string _Note;
		private int _BinaryId;
		[XmlElement(ElementName = "IsNullPositionId")]
		public bool IsNullPositionId{
			get{return _IsNullPositionId;}
			set{if(!_InternalChangedIsNullPositionId)_IsNullPositionId=value;}
		}
		[XmlElement(ElementName = "IsNullPosName")]
		public bool IsNullPosName{
			get{return _IsNullPosName;}
			set{if(!_InternalChangedIsNullPosName)_IsNullPosName=value;}
		}
		[XmlElement(ElementName = "IsNullNote")]
		public bool IsNullNote{
			get{return _IsNullNote;}
			set{if(!_InternalChangedIsNullNote)_IsNullNote=value;}
		}
		[XmlElement(ElementName = "IsNullBinaryId")]
		public bool IsNullBinaryId{
			get{return _IsNullBinaryId;}
			set{if(!_InternalChangedIsNullBinaryId)_IsNullBinaryId=value;}
		}
		[XmlElement(ElementName = "PositionId")]
		public int PositionId{
			get{return _PositionId;}
			set{
				_PositionId=value;
				if(_PositionId!=null){
					_IsNullPositionId=false;
					_InternalChangedIsNullPositionId=true;
				}
			}
		}
		[XmlElement(ElementName = "PosName")]
		public string PosName{
			get{return _PosName;}
			set{
				_PosName=value;
				if(_PosName!=null){
					_IsNullPosName=false;
					_InternalChangedIsNullPosName=true;
				}
			}
		}
		[XmlElement(ElementName = "Note")]
		public string Note{
			get{return _Note;}
			set{
				_Note=value;
				if(_Note!=null){
					_IsNullNote=false;
					_InternalChangedIsNullNote=true;
				}
			}
		}
		[XmlElement(ElementName = "BinaryId")]
		public int BinaryId{
			get{return _BinaryId;}
			set{
				_BinaryId=value;
				if(_BinaryId!=null){
					_IsNullBinaryId=false;
					_InternalChangedIsNullBinaryId=true;
				}
			}
		}
	}
	/*****************************************************************************************************/
	/**********************************END WorkPositionsEntityBase*****************************************/
	/*****************************************************************************************************/
}

